-- GENERATED SPELL FOR [Officer Jaxon] --


function spell0_14423(pUnit, Event) --@Hooked Net,n/a--
pUnit:FullCastSpellOnTarget(14030,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14423', 6500, 1)
end

function spell1_14423(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(15572,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14423', 30273, 1)
end

function Sorts_14423(pUnit, Event)
local choix_sorts_14423 = math.random(0, 1)
if choix_sorts_14423 == 0 then
pUnit:RegisterEvent('spell0_14423', 1, 1)
end
if choix_sorts_14423 == 1 then
pUnit:RegisterEvent('spell1_14423', 1, 1)
end
end

function mob14423_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14423', math.random(1500, 3000), 1)
end

function mob14423_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14423_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14423_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14423, 1, 'mob14423_Action')
RegisterUnitEvent(14423, 2, 'mob14423_Leave')
RegisterUnitEvent(14423, 3, 'mob14423_Kill')
RegisterUnitEvent(14423, 4, 'mob14423_Die')
